]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dateMenu: open calendar specifically when opening evolution
authorDan Winship <danw@gnome.org>
Mon, 14 Mar 2011 13:05:59 +0000 (09:05 -0400)
committerDan Winship <danw@gnome.org>
Tue, 15 Mar 2011 13:13:09 +0000 (09:13 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=641504

js/ui/dateMenu.js

index 8d35bbcef4aaa4bcf2f3b2a76c41aef34a5e9bf3..6af0b68f561b4aa7ffe47b99e327e8805aa1266e 100644 (file)
@@ -205,8 +205,7 @@ DateMenuButton.prototype = {
 
     _onOpenCalendarActivate: function() {
         this.menu.close();
-        // TODO: pass '-c calendar' (to force the calendar at startup)
         // TODO: pass the selected day
-        Util.spawnDesktop('evolution');
-    },
+        Util.spawn(['evolution', '-c', 'calendar']);
+    }
 };